package com.rmdc.simop.compania.model.service.impl;

import com.rmdc.simop.commons.model.service.impl.BaseServiceImpl;
import com.rmdc.simop.compania.model.dao.CompaniaDAO;
import com.rmdc.simop.compania.model.modelobject.Compania;
import com.rmdc.simop.compania.model.service.CompaniaService;

public class CompaniaServiceImpl extends BaseServiceImpl<Compania> implements
		CompaniaService {

	CompaniaDAO companiaDAO = null;

	public CompaniaDAO getCompaniaDAO() {
		return companiaDAO;
	}

	public void setCompaniaDAO(CompaniaDAO companiaDAO) {
		this.companiaDAO = companiaDAO;
	}

	public CompaniaServiceImpl() {
		this.companiaDAO = (CompaniaDAO) super.dao;
	}

	protected Class<Compania> getEntityClass() {
		return Compania.class;
	}
}
